<{include file="dcenter/block/header.html"}>
<div class="ucenter_t">
    <ul>
        <li><a href="<{link ctl='dcenter/member/ask:index'}>">我的问题</a></li>
        <li class="on"><a href="<{link ctl='dcenter/member/ask:answer'}>">我的回答</a></li>
    </ul>
    <span class="r"><a href="<{link ctl='ask:make'}>" target="_blank" class="pbtn">我要提问</a></span>
</div>
<div class="ucenter_c">
    <table width="100%" border="0" cellspacing="0" class="table">
    <tr>
        <th class="w-50">ID</th><th>回答</th><th class="w-100">状态</th><th class="w-100">审核</th><th class="w-150">发布时间</th>
    </tr>
    <{foreach $items as $item}>
    <tr>
        <td class="left"><label><{$item.ask_id}><label></td>
        <td><a href="<{link ctl='ask:detail' arg0=$item.ask_id}>" target="_blank"><{$item.contents|cutstr:100}></a></td>
        <td><{if $item.answer_id==$ask_list[$item.ask_id].answer_id}><b class="blue">已采纳</b><{elseif $ask_list[$item.ask_id].answer_id}><b class="red">进行中</b><{else}><b>未采纳</b><{/if}></td>
		<td><{if $item.audit}><b class="blue">通过</b><{else}><b class="red">待审</b><{/if}></td><td><{$item.dateline|format}></td>
    </tr>
    <{foreachelse}>
     <tr><td colspan="20"><p class="tips"><span class="notice">没有数据</span></p></td></tr>
    <{/foreach}>
    </table>
	<div class="page"><{$pager.pagebar}></div>
</div>
<{include file="dcenter/block/footer.html"}>